-
Home
-
MotoPress Appointment Booking
-
1.21.1
-
Code
-
Classes
- BookingService
| Total Complexity |
63 |
| Dependencies |
13 |
| Dependents |
3 |
| Total lines |
406 |
| Lines of code |
211 |
| Logical lines of code |
127 |
| Comment lines |
107 |
| Methods |
11 |
| Properties |
0 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| createBooking() |
C |
36 |
27 |
73 |
| parseCoupon() |
A |
51 |
9 |
26 |
| parseEmployee() |
A |
51 |
9 |
25 |
| parseLocation() |
S |
58 |
5 |
14 |
| createReservation() |
S |
48 |
3 |
32 |
| requireFields() |
S |
71 |
2 |
5 |
| parseService() |
S |
66 |
2 |
8 |
| parseDate() |
S |
68 |
2 |
7 |
| parseTime() |
S |
68 |
2 |
7 |
| parseCapacity() |
S |
62 |
1 |
11 |
| saveBooking() |
S |
81 |
1 |
3 |